package pattern.behavior.resChain;

/**
 * @author : Rookie
 * @description : 责任链模式
 * @date : 2023/8/14
 */
public class ResponsibilityChainPattern {

    public static void main(String[] args) {
        AbstractHandler handler = new FirstHandler();
        handler.connect(new SecondHandler());
        handler.handle();
    }
}
